projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a1763b
)
(dired-build-subdir-alist): Don't let looking-at destroy the match data.
author
Karl Heuer
<kwzh@gnu.org>
Fri, 17 Jun 1994 22:15:47 +0000
(22:15 +0000)
committer
Karl Heuer
<kwzh@gnu.org>
Fri, 17 Jun 1994 22:15:47 +0000
(22:15 +0000)
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index 286e7d10dbdf1a3de529557654f7b78d3309d733..e81a34f073eff7eefcd398ebac314c2aec878d53 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-1368,7
+1368,7
@@
Returns the new value of the alist."
(goto-char (match-beginning 0))
(beginning-of-line)
(forward-char 2)
- (
looking-at dired-re-perms
))))
+ (
save-match-data (looking-at dired-re-perms)
))))
(save-excursion
(goto-char (match-beginning 1))
(setq new-dir-name